import {observable,action} from 'mobx';

import * as WORKPLANEXCHANGEAAPI from '../../apis/workPlanExchange';
import CommonStore from '../CommonStore';
import {WeaLocaleProvider} from 'ecCom';
const getLabel = WeaLocaleProvider.getLabel;
export default class WorkPlanExchangeStore  extends CommonStore {
  test = getLabel(33506,'工作交流');
  @observable userList = [];

  constructor() {
      super()

      this.pageName = 'workPlanExchange';
  }

  //可滚动区域的长度
  @observable scrolledHeight = 0;

  // @action setScrolledHeight() {
  //   this.scrolledHeight = new
  // }

  @action
  addUser(params) {
    this.userList.push({name:"dyf"});
  }
  getUserList(params) {
    return this.userList.slice();
  }
}
